package com.cxcs.cxcsoj.judge.service.strategy;

import com.cxcs.cxcsoj.model.dto.question.JudgeCase;
import com.cxcs.cxcsoj.model.dto.questionsubmit.JudgeInfo;
import com.cxcs.cxcsoj.model.entity.Question;
import com.cxcs.cxcsoj.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * 策略上下文
 *  （定义用于在策略中传递参数）
 *
 * @Author: CxCS
 * @Version: 1.0
 * @Date: 2024-08
 */
@Data
public class JudgeContext {
    private JudgeInfo judgeInfo; // 代码执行信息
    private List<JudgeCase> judgeCaseList; // 题目测试用例
    private List<String> inputList;
    private List<String> outputList;
    private Question question;
    private QuestionSubmit questionSubmit;
}
